/* The string table is designed for all rather long strings. By definiton,
   it shall only contain strings which would be subject to translation for
   localization */

// For testing. To be excluded in external formatting header

#define KNRM  "\x1B[0m"
#define KRED  "\x1B[31m"
#define KGRN  "\x1B[32m"
#define KYEL  "\x1B[33m"
#define KBLU  "\x1B[34m"
#define KMAG  "\x1B[35m"
#define KCYN  "\x1B[36m"
#define KWHT  "\x1B[37m"

const char *str_table[] = {"The file '%s' already exists. Are you sure that you want to overwrite? " ,
"Enter a brief description of the commitment. This shall not reveal the actual content of it: ",
"Enter the commitment. Make sure that it is not ambigous and clearly represents your intention after revelation:\n",
"Could not create the file '%s' in local directory. Check for write permission and try again.\n",
"Could not read the files '%s' and/or '%s' in local directory. Check for read permission and try again.\n",
"Usage: %s [flag] [filename]\n\n-c Create commitment\n-v Verify commitment\n",
"The length of the filename is limited to 13 characters.\n",
KRED "The commitment is invalid." KNRM  " This doesn't neccessary mean that your communication partner wants to cheat, since technical errors or third parties tampering the files are also possible. " KRED "It is strongly adviced that you must not trust this commitment!\n" KNRM,
KGRN "The commitment has found to be valid." KNRM " It is very unlikely that the statement \"%s\" has been stated after you received the commitment with the subject \"%s\". There is absolutly no warranty for this software.\n",
"Two files have been created now. Send '%s' first to establish your commitment (usually it's good to send it as soon as possible), and keep the file '%s' until you like to reveal the commitment. A revelation cannot be reversed, neither is it possible to ever reveal the commitment if you loose the file. If you decide to never reveal the commitment, consider using a commandline tool like wipe to destroy the file (don't just use the standard delete method).\n",
"You can specify the file name as a second argument after the flag -c or -v. Since you ommited the file name, please enter it: ",
"While the files that hcommit creates start with c_ or r_, you may not enter the file name with those prefixes yourself.\n"
};

#define S_ALREADY_EXISTS		    str_table[0]
#define ENTER_DESCRIPTION		    str_table[1]
#define ENTER_COMMITMENT		    str_table[2]
#define COULD_NOT_CREATE_S		    str_table[3]
#define COULD_NOT_READ_SS		    str_table[4]
#define USAGE_S				        str_table[5]
#define LENGTH_LIMIT_13			    str_table[6]
#define INVALID_COMMITMENT		    str_table[7]
#define VALID_COMMITMENT_S_DESCR_S	str_table[8]
#define SEND_S_KEEP_S_DONT_LOOSE	str_table[9]
#define NO_FILENAME			        str_table[10]
#define FILENAME_PREFIX			    str_table[11]
